<?php
	session_start();

	require('config.inc.php');
	$GLOBALS['cfg'] = &$_CONFIG;
	require(__DOCROOT__.'include/dbconn.inc.php');
	require(__DOCROOT__.'include/smarty.inc.php');
	include(__DOCROOT__.'include/func.inc.php');

	include(__DOCROOT__.'include/class/user.class.php');
	include(__DOCROOT__.'include/class/item.class.php');
	include(__DOCROOT__.'include/class/purchase.class.php');
	include(__DOCROOT__.'include/class/announcement.class.php');
	include(__DOCROOT__.'include/class/message.class.php');
	include(__DOCROOT__.'include/class/comment.class.php');
	include(__DOCROOT__.'include/class/display.class.php');
	
	header('Content-Type:text/html; Charset='.$GLOBALS['cfg']['system']['DefaultCharset']);
?>
